class MyArray6 <T>{
    public T[] array3 = (T[])new Object[10];

    public T[] getArray3() {
        return array3;
    }

    public void setArray3(T[] array3) {
        this.array3 = array3;
    }
}

public class demo12 {
    public static void main(String[] args) {
        MyArray<Integer> myArray = new MyArray<>();
    }
}
